package Month07.day27.test;

import java.util.TreeSet;

public class main {
    public static void main(String[] args) {
        Student student = new Student("yuan",12,23,34);
        Student student1 = new Student("yang",12,23,34);
        Student student2 = new Student("zhen",23,43,23);
        TreeSet<Student> students = new TreeSet<>();
        students.add(student);
        students.add(student1);
        students.add(student2);
        System.out.println(students);
    }
}
